package MP.ASTs;

import MP.CompilationException;

public class VarDeclPartAST extends AST {
	public OneDeclAST 	o;
	public VarDeclPartAST	v;
	public VarDeclPartAST() {
		o = null;
		v = null;
	}
	public VarDeclPartAST(OneDeclAST one, VarDeclPartAST var) {
		v = var;
		o = one;
		v.parent = o.parent = this;
	}
	
	public Object visit(Visitor v, Object o) throws CompilationException{
		return v.visitVarDeclPartAST(this,o);
	}
}

